<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd 

">
<html>
<head>
 <base href="<%=basePath%>">   
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>标题</title>        
  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">    
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">
</head>
<body>
<form action="scoreservlet" method="post">
		<input type="hidden" name="med" value="I" />
		ID: <input type="text" name="id" /><br> 
		姓名:<input type="text" name="name" /><br> 
		成绩:<input type="text" name="score" /><br> 
		<input type="submit" value="增加">
</form>

<form action="scoreservlet" method="post">
		<input type="hidden" name="med" value="O" />
		ID: <input type="text" name="id" /><br> 
		姓名:<input type="text" name="name" /><br>
		成绩:<input type="text" name="score" /><br>
		<input type="submit" value="查询">
</form>

</body>
</html>
